//use web_web::utils:jwt;
// 只能在lib.rs存在的项目中使用
include!("../src/utils/mod.rs");
// 集成测试
use jwt::Claims;
// 如果想看输出需要 cargo test -- --nocapture
#[test]
fn calibration_time() {
    let claims = Claims::new("account".to_string(), "username".to_string());
    println!("{}", claims.exp);
}
#[path = "../src/model/user.rs"]
mod user;

#[test]
fn test_model_test() {
    let test = user::User {
        id: Some(12),
        username: Some("waitfish".to_string()),
        account: "".to_string(),
        password: None,
        captcha: None,
    };
    println!("{:?}", test);
}
